package com.tarim.wheat.model;

import java.util.Date;

public class Admin {
    private Long id;

    private String adminName;

    private String adminPassword;

    private Integer dr;

    private Date createTime;

    public Admin(Long id, String adminName, String adminPassword, Integer dr, Date createTime) {
        this.id = id;
        this.adminName = adminName;
        this.adminPassword = adminPassword;
        this.dr = dr;
        this.createTime = createTime;
    }

    public Admin() {
        super();
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getAdminName() {
        return adminName;
    }

    public void setAdminName(String adminName) {
        this.adminName = adminName == null ? null : adminName.trim();
    }

    public String getAdminPassword() {
        return adminPassword;
    }

    public void setAdminPassword(String adminPassword) {
        this.adminPassword = adminPassword == null ? null : adminPassword.trim();
    }

    public Integer getDr() {
        return dr;
    }

    public void setDr(Integer dr) {
        this.dr = dr;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}